package com.qf.staff.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 部门表
 */
@Data
@TableName(value = "yu_dept")
public class Dept {
    public static final String COL_DEPT_ID = "dept_id";
    public static final String COL_DEPT_NAME = "dept_name";
    public static final String COL_STATUS = "status";
    /**
     * 部门编号
     */
    @TableId(value = "dept_id", type = IdType.INPUT)
    private Integer deptId;
    /**
     * 部门名称
     */
    @TableField(value = "dept_name")
    private String deptName;
    @TableField(value = "`status`")
    @Version
    private Integer status;
}